package com.pm2.dao.project;

import java.util.Date;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.pm2.entity.project.Project;

public interface ProjectDao  extends JpaRepository<Project, Long> {
	@Modifying
	@Transactional
	@Query("delete Project where id= ?1")
	int deleteById(int id);
}
